package com.sangeng.service;

import com.sangeng.domain.ResponseResult;
import com.sangeng.domain.User;

/**
 * @author LENOVO
 * @version 1.0
 * @date 2025/6/17 15:44
 */
public interface LoginService {

    /**
     * 登录
     * @param user 用户信息
     * @return ResponseResult
     */
    ResponseResult login(User user);

    /**
     * 登出
     * @return ResponseResult
     */
    ResponseResult logout();

}